/* author: Mariana Horita
   mariana.horita@gmail.com
   file: A5E3-p1.aspx.cs*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Exercicios
{
    public partial class A5E3_p1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            txtNome.Text = Request.QueryString["nome"];
            txtTelefone.Text = Request.QueryString["telefone"];
            txtEndereco.Text = Request.QueryString["endereco"];
        }

        protected void btEnviar_Click(object sender, EventArgs e)
        {
            Response.Redirect("A5E3-p2.aspx?nome=" + txtNome.Text + "&telefone=" + txtTelefone.Text + "&endereco=" + txtEndereco.Text);
        }
    }
}